#ifndef MODBUSACTIONSTRUCT_H
#define MODBUSACTIONSTRUCT_H

#include <QObject>

class ModbusActionStruct
{
public:
    ModbusActionStruct();

    QString name() const;
    void setName(const QString &name);

    quint16 registerStartAddress() const;
    void setRegisterStartAddress(const quint16 &registerStartAddress);

    quint16 registerNumber() const;
    void setRegisterNumber(const quint16 &registerNumber);

    QList<quint16> registrValueList() const;
    void setRegistrValueList(const QList<quint16> &registrValueList);


private:
    QString m_name;
    quint16 m_registerStartAddress;
    quint16 m_registerNumber;
    QList<quint16> m_registrValueList;
};

#endif // MODBUSACTIONSTRUCT_H
